package com.xueyi.operations.domain.po;

import java.math.BigDecimal;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.operations.domain.dto.OpManufacturerDto;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;

/**
 * 资产 持久化对象
 *
 * @author lwb
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "op_manufacturer", excludeProperty = { SORT })
public class OpManufacturerPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 分类ID */
    @Excel(name = "分类ID")
    protected Long typeId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    protected String assetNumber;

    /** 规格 */
    @Excel(name = "规格")
    protected String specification;

    /** 单位 */
    @Excel(name = "单位")
    protected String unit;

    /** 单价 */
    @Excel(name = "单价")
    protected BigDecimal price;

    /** 状态 */
    @Excel(name = "状态")
    protected String status;

    @Excel(name = "厂商名称")
    protected String firm;

    @Excel(name = "条码")
    private String barCode;

    @Excel(name = "存放位置")
    private String position;

    /** 数量 */
    @Excel(name = "数量")
    protected String number;

    /** 备注 */
    @Excel(name = "备注")
    protected String remark;

    /** 相关照片 */
    @Excel(name = "相关照片")
    protected String picture;

}
